package com.example.hcmiu.englishforkid;

import SQLite.DatabaseHandler2;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.View;
import android.view.Window;

public class ProgressActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.activity_progress);
		MainActivity.CurrentActivity = this;
	}
	
	public void ReportClick(View v) {
		
		DatabaseHandler2 db = new DatabaseHandler2(this);
		 HTMLActivity.Show(db.getAllResult());
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {		
		getMenuInflater().inflate(R.menu.progress, menu);
		return true;
	}

}
